package org.example.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.domain.entity.SysRole;

import java.util.List;

@Mapper
public interface ISysRoleDao extends BaseMapper<SysRole> {
    List<SysRole> selectRoleByUserId(@Param("userId") Long userId);
}
